package com.translate.web.constant;

public interface ValidateCondtionAndMessage {
	
	public static final String CHINESE_ENGLISH_NUMBER_UNDERLINE = "^[\\u4E00-\\u9FA50-9a-zA-Z_-||\\.\\s+]{1,30}$";
	public static final String CHINESE_ENGLISH_NUMBER_UNDERLINE_MSG = "请输入只含有数字下划线英文的标题";
	
	public static final String CHINESE_ENGLISH_NUMBER_UNDERLINE_MSG_BYSERIES_NAME = "请输入只含有数字下划线英文的系列标题,长度不大于30";
	

	
	public static final int MIN_SIZE_BY_FILE = 16;
	public static final String MIN_SIZE_BY_FILE_MSG = "文件头最小数量为16个";
	
	public static final String CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION = "^[\\u4E00-\\u9FA50-9a-zA-Z-_,.，：《》#@。:，、\\ ！!+]{1,300}$";
	
	
	public static final String CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG = "请输入只含有数字下划线英文的数据";
	
	public static final String CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_PICTURES_MSG = "请输入只含有数字下划线英文的图片路径";
	
	public static final String CHINESE_ENGLISH_NUMBER_UNDERLINE_COMMON_MSG = "请输入只含有中文、数字及下划线英文的数据";

	public static final String NOT_NULL_MESSAGE = "数据不能为空";
	
	public static final String STRING_STARTING_WITH_0 = "^0x[A-Za-z0-9]+$";
	
	public static final String IMAGE_URL = "(https?):\\/\\/((?!(https?):\\/\\/).)+?(\\.jpg|\\.png)";
	

	public static final String IMAGE_URL_MSG = "请输入正确的图片地址";

	
	public static final String PASSWORD_LEN = "^[\\u4E00-\\u9FA50-9a-zA-Z-_,.，：:，！!]{6,300}$";
	
	
	public static final String PASSWORD_LEN_MSG = "密码长度不够，最少6位";
	
	
	
	public static final String URL_PATTERN = "^((http|https)://)([\\w-]+\\.)+[\\w$]+(\\/[\\w-?=&./]*)?$";

	public static final String URL_PATTERN_MSG = "请输入正确的url";
	
	
	public static final String WALLET_ADDRESS_LENGTH_MSG = "钱包长度最小为20";

	public static final int WALLET_ADDRESS_LENGTH = 20;

	public static final String STRING_STARTING_WITH_0_MSG = "钱包地址错误";

	
//	public static final String EMAIL_PATTERN = "/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$/";
	public static final String EMAIL_PATTERN = "\\w[-\\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\\.)+[A-Za-z]{2,14}";

	public static final String EMAIL_PATTERN_MSG = "请输入合法的邮箱";
	

	public static final String PATH = "[a-zA-Z0-9._-]+/";

	public static final String PATH_MSG = "请输入合法的路径";
	
	
	public static final String ORDER_SN_REGLEX = "[a-zA-Z0-9._-]+";

	public static final String ORDER_SN_REGLEX_MSG = "订单号输入错误";
	
	
	
	
	public static final String ENGLISH_OR_NUMBER = "[A-Za-z0-9]+";

	public static final String ENGLISH_OR_NUMBER_MSG = "请输入英文或数字";
	
	public static final int SHELVES_MIN_VALUE = 0;
	
	public static final int SHELVES_MAX_VALUE = 1;
	
	public static final String SHELVES_MIN_MSG = "上架最小标志为0";
	
	public static final String SHELVES_MAX_MSG = "上架最小标志为1";
	
	
	public static final int SORT = 0;
	public static final String SORT_MSG = "排序类型最小标志为0";
	
	
	public static final int NFT_SART_TOKEN = 1;
	public static final String NFT_SART_TOKEN_MSG = "NFT的tokenId最小标志为1";
	
	public static final int NFT_END_TOKEN = 2;
	public static final String NFT_END_TOKEN_MSG = "NFT的结束tokenId最小标志为2";
	
	
	public static final int U_ID_VALUE = 1;
	public static final String  U_ID_TOKEN_MSG = "NFT的结束tokenId最小标志为2";
	

	public static final int MAX_NAVIGATION = 1;
	
	public static final int MIN_NAVIGATION = 0;
	
	public static final String MIN_NAVIGATION_MSG = "导航最小值为0";
	
	public static final String MAX_NAVIGATION_MSG = "导航最大值为1";
	
	
	public static final int MIN_SMS_CODE = 1000;
	
	public static final String MIN_SMS_CODE_MSG = "显示最小值为1000";
	
	public static final int MAX_MATCH_TYPE = 3;
	
	public static final String MAX_MATCH_TYPE_MSG = "大赛类型最大值为3";
	
	public static final int MIN_MATCH_TYPE = 1;
	
	public static final String MIN_MATCH_TYPE_MSG = "大赛类型最小值为1";
	
	
	public static final int MAX_MATCH_STATUS = 3;
	
	public static final String MAX_MATCH_STATUS_MSG = "赛事状态最大值为3";
	
	public static final int MIN_MATCH_STATUS = 1;
	
	public static final String MIN_MATCH_STATUS_MSG = "赛事状态最小值为1";

	
	public static final int MAX_STATUS = 1;
	
	public static final int MIN_STATUS = 0;
	
	public static final String MIN_STATUS_MSG = "显示最小值为0";
	
	public static final String MAX_STATUS_MSG = "显示最大值为1";
	
	/**
	 * 最大跟进计划类型
	 */
	public static final int MIN_PLAN_TYPE_STATUS = 5;
	
	public static final String MIN_PLAN_TYPE_STATUS_MSG = "显示最大值为5";

	
	public static final int MAX_COMMON_STATUS = 1;
	
	public static final int MIN_COMMON_STATUS = 0;
	
	public static final String MIN_HOT_MSG = "最小值为0";
	
	public static final String MAX_HOT_MSG = "最大值为1";
	
	public static final String MIN_MSG = "最小值为0";
	
	
	public static final int MIN_SIZE = 1;
	public static final String MIN_SIZE_MSG = "批量处理的最小数量为1";
	
	
	public static final String MAX_MSG = "最大值为1";
	
	
	public static final String NUMBER = "[0-9]+";
	
	public static final String ORDER_SN_MSG = "订单号全是数字";
	
	public static final String NUMBER_MSG = "请输入数字";
	
	public static final long MIN_CREATE_TIME = 1000000;
	
	public static final String CREATE_TIME_BY_MSG = "最小时间为1970-01-01 00：00:00";
	
	
	public static final String PHONE_BY_PATTERN = "^1[3|4|5|6|7|8|9][0-9]\\d{4,8}$";
	
	public static final String PHONE_BY_PATTERN_MSG = "请输入正确的手机号码";
	
	public static final String TELPHONE_BY_PATTERN = "^((0\\d{2,3})?[-]?\\d{7,8})$";
	
	public static final String TELPHONE_BY_PATTERN_MSG = "请输入正确的座机号码";
	
	public static final int TOKEN_MIN_TYPE = 1;
	
	public static final String TOKEN_TYPE_MSG = "tokenId最小值为1";
	
	public static final String MIN_PRICE = "0.01";
	
	public static final String MIN_PRICE_MSG = "最小值为0.01";
	
	
	public static final int MIN_ID = 1;
	
	public static final String MIN_ID_MSG = "最小值为1";
	
	public static final int SEX_MAX = 2;
	
	public static final String SEX_MAX_MSG = "性别最大值为2";
	
	
	public static final int ZERO = 0;
	
	public static final String ZERO_MSG = "最小值为0";
	
	
	public static final int SIZE_MIN = 1;
	
	public static final String SIZE_MIN_MSG = "最少数量";
	
	
	public static final int SERVICE_NUMBER = 1;
	
	public static final String SERVICE_NUMBER_MSG = "最少选择一个服务";
	
	public static final String MANUSCRIPTS_NUMBER_MSG = "最少上传一个稿件";
	
	
}
